@import '../index.less';

.list {
    .element;
    width: 100%;
    font-size: 16px;
    color: #222;

    .el-image {
        display: inline-block;
        width: 60px;
        height: 60px;
        vertical-align: middle;
        border-radius: inherit;
        pointer-events: none;

        .picture-image-slot {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
            color: #909399;
            font-size: 12px;
            border-radius: inherit;

            &.no-image {
                background-color: #f5f7fa;
                border: 1px solid #DCDFE6;
                box-sizing: border-box;
            }
        }
    }

    .sec-mode {
        &.list-container .list-item {
            height: auto;
            padding-left: 0px;
            display: block;
        }
    }

    .list-container {
        width: 100%;
        max-width: 100%;
        font-size: inherit;
        color: inherit;
        text-decoration: inherit;
        overflow: hidden;

        .list-item {
            position: relative;
            height: 60px;
            padding-left: 10px;
            margin-bottom: 1px;
            background-color: #e8e8e8;
            text-decoration: inherit;
            background-size: 100% 100%;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
        }

        .inner-content {
            display: inline;
            vertical-align: middle;
        }

        .list-img {
            display: inline-block;
            width: 60px;
            height: 60px;
            vertical-align: middle;
        }

        .title-container {
            flex: 1;
            display: inline-block;
            text-decoration: inherit;
            vertical-align: middle;
            text-overflow: ellipsis;
            white-space: nowrap;

            p {
                width: 100%;
                line-height: 1.6em;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                text-indent: 5px;
            }

            .title-wrap {
                text-decoration: inherit;
            }

            .sec-title {
                display: inline-block;
                font-size: 12px;
                color: #666;
                font-weight: normal;
                font-style: normal;
                text-decoration: none;
                text-align: left;
            }
        }
    }
}